libs/store: make build without PTHREAD_STACK_MIN
authorManuel Bouyer <bouyer@netbsd.org>
Tue, 26 Jan 2021 22:47:59 +0000 (23:47 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 29 Jan 2021 22:50:08 +0000 (22:50 +0000)
commite402441d4c02908cea9c14392fd7c2831c0456d0
tree9de59930897e7d907a3095a2cce023158c2fdd5a
parentc2517364eb64088abe7afba79e13cb1ba5a12585
libs/store: make build without PTHREAD_STACK_MIN

On NetBSD, PTHREAD_STACK_MIN is not available.
If PTHREAD_STACK_MIN is not defined, define it to 0 so that we fallback to
DEFAULT_THREAD_STACKSIZE

Signed-off-by: Manuel Bouyer <bouyer@netbsd.org>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
tools/libs/store/xs.c